<template>
	<view class="operatSuccess bggray flex flex-center h100vh">
		<view class="ac">
			<image :src="successIcon" class="img mb30"></image>
			<view class="fs32 fwb">{{type == 1 ? '绑定成功' : '提现申请已提交'}}</view>
			<view class="back-btn" @click="returnEvent">返回</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				type:1, //1绑定成功 2 提现申请已提交
				successIcon:this.$common.imgUrl() + '/bank/lt_ok_icon@2x.png',
			}
		},
		components: {

		},
		onLoad(query) {
			if(!this.$common._empty(query)) this.type = query.type;
		},
		onShow() {},
		mounted() {},
		methods: {
			returnEvent(){
				// this.$common.navBack();
				uni.reLaunch({
					url:'/pages/index/home'
				})
			}
		}
	}
</script>

<style lang="scss">
	.img{
		width: 144rpx;
		height: 144rpx;
	}
	.back-btn {
		margin-top:150rpx;
		width: 498rpx;
		height: 98rpx;
		text-align: center;
		line-height: 98rpx;
		color: #fff;
		background: #3DA5FF;
		border-radius: 49rpx;
	}
</style>